package com.hehua.web.proxy.demo1;

public class GiveGiftClient {
    public static void main(String[] args) {
        SchoolGirl schoolGirl = new SchoolGirl() {{
            setName("王梅梅");
        }};
        Proxy proxy = new Proxy(schoolGirl);
        proxy.GiveDolls();
        proxy.GiveFlowers();
        proxy.GiveChocolate();
    }
}
